<!-- Modal -->
<div id="createEntity" class="modal fade" role="dialog">
    <div class="modal-dialog">

        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Create a new Entity</h4>
            </div>
            <div class="modal-body">

                <p>Please enter the details to create new entity</p>

                <form class="" action="#" onsubmit="createTable()">
                    <div class="form-group">
                        <label>Name</label>
                        <input class="form-control table-name" name="name" type="text" placeholder="Enter the name of the table">
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="createTable()">Create</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>